// {/** 将所有组件的reducer组合起来方便数据获取 */}
import { combineReducers } from 'redux-immutable';
import { reducer as homeReducer } from '../pages/Home/store';
import { reducer as loginReducer } from '../pages/Login/store';
import { reducer as partnerReducer } from '../pages/Partner/store';
import { reducer as centerReducer } from '../pages/center/Center/store';
import { reducer as settingsReducer } from '../pages/center/Settings/store';
import { reducer as boughtReducer } from '../pages/center/Bought/store';
import { reducer as worksReducer } from '../pages/Works/store';

// patner是作品板块，没有更改名字
const reducer = combineReducers({
  home: homeReducer,
  login: loginReducer,
  parter: partnerReducer,
  center: centerReducer,
  settings: settingsReducer,
  bought: boughtReducer,
  works: worksReducer
});

export default reducer;